package mall.model.enumaration;

/*
 *
 * @author Yonni
 * @version 1.8.0_201
 * @date 2020-05-30 14:21
 *
 * */
public enum OrderStage {
    UN_PAID(0, "未付款"),
    UN_SHIPED(1, "未发货"),
    DELIVERED(2, "已发货"),
    RECEVIED(3, "已到货");

    private Integer code;
    private String value;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    OrderStage(Integer code, String value) {
        this.code = code;
        this.value = value;
    }
}
